#! /bin/bash

tainet_master() {

  kubectl taint node master-01 node-role.kubernetes.io/master=:NoExecute
  kubectl taint node master-02 node-role.kubernetes.io/master=:NoExecute
  kubectl taint node master-03 node-role.kubernetes.io/master=:NoExecute
}

unset_tainet_master() {
  kubectl taint node master-01 node-role.kubernetes.io/master=:NoExecute-
  kubectl taint node master-02 node-role.kubernetes.io/master=:NoExecute-
  kubectl taint node master-03 node-role.kubernetes.io/master=:NoExecute-
}
# node.cilium.io/agent-not-ready:NoSchedule
tainet_master
# unset_tainet_master
